package com.yanfan.energy.domain;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;

/**
 * @Author huan
 * @Description
 * @ClassName 2023年03月14日 14:08:00
 * @Version 1.0
 **/
public class SparePartOperateVo {

    /**
     * 出入库
     */
    @NotEmpty(message = "出/入库类型 inOrOutType 不能为空    1 入库  2 出库")
    private Integer inOrOutType;


    /**
     * 出入库id
     */
    private Long orderId;

    /**
     * 出入库的类型
     */
    @NotEmpty(message = "出入库的订单类型 type 不能为空    1 为备品备件  2 为已损已件")
    @ApiModelProperty("出入库的订单类型：  1 为备品备件  2 为已损已件")
    private Integer type;


    public Integer getInOrOutType() {
        return inOrOutType;
    }

    public void setInOrOutType(Integer inOrOutType) {
        this.inOrOutType = inOrOutType;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
